package com.gulimall.seckill.feign;

import com.gulimall.seckill.to.SeckillPromotionTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    @GetMapping("/coupon/seckillpromotion/getSeckillSessionLatest3Days")
    List<SeckillPromotionTo> getSeckillSessionLatest3Days();
}
